import { Pagination } from 'antd';

function onShowSizeChange(current, pageSize) {
    console.log(current, pageSize);
}
const Page = () =>{
    return (
        <div style={{margin: '100px auto;'}}>
            <Pagination
                showSizeChanger
                onShowSizeChange={onShowSizeChange}
                defaultCurrent={3}
                total={500}
            />
            <br />
            <Pagination
                showSizeChanger
                onShowSizeChange={onShowSizeChange}
                defaultCurrent={3}
                total={500}
                disabled
            />
      </div>
    );
}


export default Page;